QT += core

TEMPLATE = lib
CONFIG += staticlib

CONFIG += c++17

DESTDIR = ../LIBS

TARGET = strmbase

QMAKE_CFLAGS += -fpermissive
QMAKE_CXXFLAGS += -fpermissive

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    AMEXTRA.CPP \
    AMVIDEO.CPP \
    Amfilter.cpp \
    CPROP.CPP \
    CTLUTIL.CPP \
    Combase.cpp \
    DDMM.CPP \
    DLLSETUP.CPP \
    Dllentry.cpp \
    MTYPE.CPP \
    OUTPUTQ.CPP \
    PSTREAM.CPP \
    PULLPIN.CPP \
    REFCLOCK.CPP \
    RENBASE.CPP \
    SCHEDULE.CPP \
    SEEKPT.CPP \
    SOURCE.CPP \
    STRMCTL.CPP \
    SYSCLOCK.CPP \
    TRANSFRM.CPP \
    TRANSIP.CPP \
    VIDEOCTL.CPP \
    VTRANS.CPP \
    WINCTRL.CPP \
    WXDEBUG.CPP \
    WXLIST.CPP \
    WXUTIL.CPP \
    Winutil.cpp

HEADERS += \
    ACTIVEX.RCV \
    ACTIVEX.VER \
    AMEXTRA.H \
    Amfilter.h \
    CACHE.H \
    CPROP.H \
    DDMM.H \
    DLLSETUP.H \
    FOURCC.H \
    MEASURE.H \
    MSGTHRD.H \
    MTYPE.H \
    OUTPUTQ.H \
    PSTREAM.H \
    PULLPIN.H \
    REFCLOCK.H \
    REFTIME.H \
    RENBASE.H \
    SCHEDULE.H \
    SEEKPT.H \
    SOURCE.H \
    STREAMS.H \
    STRMCTL.H \
    SYSCLOCK.H \
    TRANSFRM.H \
    TRANSIP.H \
    VIDEOCTL.H \
    VTRANS.H \
    WINCTRL.H \
    WXDEBUG.H \
    WXLIST.H \
    WXUTIL.H \
    Winutil.h \
    combase.h \
    ctlutil.h

# Default rules for deployment.
unix {
    target.path = $$[QT_INSTALL_PLUGINS]/generic
}
!isEmpty(target.path): INSTALLS += target
